package Model.StatisticalReport;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import net.sf.oval.constraint.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonAutoDetect(fieldVisibility= JsonAutoDetect.Visibility.ANY,getterVisibility= JsonAutoDetect.Visibility.NONE)
public class HomeDetail extends ReportDetail{

    @JsonFormat(pattern="yyyyMMdd")
    private Date HLDATE; //护理日期

    @NotNull
    private int ZHLX; //照护类型
    @NotNull
    private int PGDJ; //评估等级

    private float JYTOTFY; //交易费用总额

    private float GRXJ; //个人现金支付
    private float TCZF; //基金支付

    private float TOTFY; //医保结算范围费用总额

    private float ZF; //非医保个人自付
    private float FY01; //治疗费
    private float FY02; //手术材料费
    private float FY03; //TODO：未知的费用
    private float FY04; //化验费
    private float FY08; //基础护理费
    private float FY09; //其他费
    private String LSH; //交易确认应答返回流水号

    public Date getHLDATE() {
        return this.getJYDATE();
    }

    public void setHLDATE(Date date) {
        this.setJYDATE(date);
    }

}
